package inter;

public class Continue extends Stmt {

	While loop;
	
	public Continue(){
		if(Stmt.Enclosing == Stmt.Null) error("Comando 'continue' fora de um loop");
		this.loop = (While)Stmt.Enclosing;
	}
	
	public void gen(int b, int a){
		emit("goto L" + loop.labelLoop + ";");
	}
}
